<?php 

if (basename(__FILE__) == basename($_SERVER['PHP_SELF']))
{
    exit(0);
}

include"config.php";

echo '<?xml version="1.0" encoding="utf-8"?>';

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $sitetitle; ?></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<meta name="description" content="<?php echo $metadescription; ?>" />
<meta name="keywords" content="<?php echo $metakeywords; ?>" />
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-69b81840-90d1-f1e1-9954-522465c938eb"}); </script>
<meta content='document' name='resource-type'/>
<meta content='all' name='audience'/>
<meta content='general' name='rating'/>
<meta content='all' name='robots'/>
<meta content='index, follow' name='robots'/>
<meta content='id' name='language'/>
<meta content='id' name='geo.country'/>
<meta content='global' name='distribution'/>
<meta content='1 days' name='revisit-after'/>
<meta content='USA' name='geo.placename'/>
<meta content='378553052166507' property='fb:admins'/>
<meta content='159770070812792' property='fb:app_id'/>
<meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
<meta content='header.gif' property='og:image'/>
<script type="text/javascript">
<!--
	function showhide(targetID) {
		//change target element mode
		var elementmode = document.getElementById(targetID).style;
		elementmode.display = (!elementmode.display) ? 'none' : '';
	}

	function changetext(changee,oldText,newText) {
		//changes text in source element
		var elementToChange = document.getElementById(changee);
		elementToChange.innerHTML = (elementToChange.innerHTML == oldText) ? newText : oldText;
	}

	function workforchange(targetID,sourceID,oldContent,newContent) {
		showhide(targetID);
		changetext(sourceID,oldContent,newContent);
	}

	// Cruft note: The content of "oldContent," the third argument of the
	// workforchange() function, must match the existing content of the changer text.

// -->
</script>
<script language="javascript" src="src/config.js"></script>
<script type='text/javascript'>summary_noimg = 800;summary_img = 650;img_thumb_height = 150;img_thumb_width = 200;</script><script type='text/javascript'>//<![CDATA[

function removeHtmlTag(strx,chop){if(strx.indexOf("<")!=-1){var s = strx.split("<");for(var i=0;i<s.length;i++){ if(s[i].indexOf(">")!=-1){  s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length); }}strx =  s.join("");}chop = (chop < strx.length-1) ? chop : strx.length-2;while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;strx = strx.substring(0,chop-1);return strx+'...';}

function createSummaryAndThumb(pID){var div = document.getElementById(pID);var imgtag = "";var img = div.getElementsByTagName("img");var summ = summary_noimg;if(img.length>=1) {imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';summ = summary_img;}

var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';div.innerHTML = summary;}

//]]></script>
<style type='text/css'>.postdate{margin-bottom:2px !important;clear:both;}</style>
</head>

<body>
<script language="javascript" src="src/like.js"></script>
<div id="layout">
<div id="topnav">
	<a href="index.php">Home</a> -
	<a href="javascript:alert('Cookie Managment has not been implemented yet!')">Manage Cookies</a> -
	<a href="http://www.monchid.com" target="_blank"><b>Anachid islamique </b></a> -
    <a href="http://www.dimahna.com" target="_blank"><b>offert</b></a> -
	    <a href="http://www.yawebo.com" target="_blank"><b>yabewo</b></a> -
	<a href="http://www.dimahna.net" target="_blank"><b>blogger</b></a></div>

<div id="header"></div>
<div align="center" class="ads">
<div class="intro"><?php echo $adcode3; ?></div>
</div>
<div align="center">
  <div class="intro"><?php echo $description; ?></div>
</div>
<br /><div align="center">
<?php echo $adcode1; ?>
<?php echo $adcode2; ?>
<br />
<span class='st_plusone_vcount' displayText='Google +1'></span>
<span class='st_facebook_vcount' displayText='Facebook'></span>
<span class='st_pinterest_vcount' displayText='Pinterest'></span>
<span class='st_linkedin_vcount' displayText='LinkedIn'></span>
<span class='st_delicious_vcount' displayText='Delicious'></span>
<span class='st_fblike_vcount' displayText='Facebook Like'></span>
<br />
<div align="center">
  <br />
<table border="0" width="100%" id="table">
	<tr>

		<td nowrap width="0" height="0" bgcolor="#f8f8f8"><form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>">
    Web Address: <input id="address_box" name="<?php echo $GLOBALS['_config']['url_var_name'] ?>" type="text" class="bar" onfocus="this.select()" value="<?php echo isset($GLOBALS['_url']) ? $GLOBALS['_url'] : '' ?>" />
    <input id="go" type="submit" value="Browse" /></td>
	</tr>
	<tr>
		<td colspan="2" nowrap width="0" height="0">
	<a href="javascript:workforchange('adv','showadv','Click Here For More Options','Hide Options');" id='showadv'>Click Here For More Options</a>
	<div id='adv' style='display:none'>
      <?php
	  echo '<ul>';
      foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)
      {
          if (!$GLOBALS['_frozen_flags'][$flag_name])
          {
              echo '<li class="option"><input type="checkbox" name="' . $GLOBALS['_config']['flags_var_name'] . '[' . $flag_name . ']"' . ($flag_value ? ' checked="checked"' : '') . ' />' . $GLOBALS['_labels'][$flag_name][1] . '</li>' . "\n";
          }
      }
	  echo '</ul>';
      ?>
	  </div></form>
		</td>
	</tr>
</table>
</div>
</div>
<p>
  <?php

switch ($data['category'])
{
    case 'auth':
?>
  <?php
        break;
    case 'error':
        echo '<div align="center"><div id="error">';
        
        switch ($data['group'])
        {
            case 'url':
                echo '<b>URL Error (' . $data['error'] . ')</b>: ';
                switch ($data['type'])
                {
                    case 'internal':
                        $message = 'Failed to connect to the specified host. '
                                 . 'Possible problems are that the server was not found, the connection timed out, or the connection refused by the host. '
                                 . 'Try connecting again and check if the address is correct. <br />';
                        break;
                    case 'external':
                        switch ($data['error'])
                        {
                            case 1:
                                $message = 'The URL you\'re attempting to access is blacklisted by this server. Please select another URL.';
                                break;
                            case 2:
                                $message = 'The URL you entered is malformed. Please check whether you entered the correct URL or not.';
                                break;
                        }
                        break;
                }
                break;
            case 'resource':
                echo '<b>Resource Error:</b> ';
                switch ($data['type'])
                {
                    case 'file_size':
                        $message = 'The file your are attempting to download is too large.<br />'
                                 . 'Maxiumum permissible file size is <b>' . number_format($GLOBALS['_config']['max_file_size']/1048576, 2) . ' MB</b><br />'
                                 . 'Requested file size is <b>' . number_format($GLOBALS['_content_length']/1048576, 2) . ' MB</b>';
                        break;
                    case 'hotlinking':
                        $message = 'It appears that you are trying to access a resource through this proxy from a remote Website.<br />'
                                 . 'For security reasons, please use the form below to do so.';
                        break;
                }
                break;
        }
        
        echo 'An error has occured while trying to browse through the proxy. <br />' . $message . '</div></div>';
        break;
}
?>
</p>
<div align="center">
  <div class="intro"><?php echo $adcode4; ?></div>
</div>
<p><br />
</p>
</div>  
<div class="footer" id="footer">

  <div align="center">Sponsored By<b> Yawebo.com </b> | <b><a href="http://dimahna.com">free topics about marketing</a></b> | <b><a href="/tos.php">Terms of Service</a></b></div>
<div align="center">
<a href="http://s10.flagcounter.com/more/i2Q"><img src="http://s10.flagcounter.com/count/i2Q/bg_FFFFFF/txt_158BE6/border_17A1E6/columns_7/maxflags_21/viewers_Myproxy++Sponsored+by+Dimahna.net/labels_1/pageviews_1/flags_1/" alt="free counters" border="0"></a>
</div>
  </div>
  
<img src="header.gif" />
<br />
<?php  
include"backlinks.php";

?>
</body>
</html>

